home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 24 / AACD 24.iso / AACD / Online / Epic4 / share / epic / help / 8_scripts / country < prev    next >
Text File  |  2001-03-21  |  2KB  |  37 lines

  1. Synopsis:
  2.    load country
  3.  
  4. Description:
  5.    This script is used for converting between a country's (official) name
  6.    and its ISO country code.  It can convert in either direction, and can
  7.    convert to a country name based on an email address.  Everything is
  8.    done through a single alias, /country.  The basic syntax is:
  9.  
  10.      /country [<switch>] <nickname|country|isometric>
  11.  
  12.    The default behavior is for the script to try to guess what type of
  13.    input it has been given.  The default is a nickname.  If it cannot find
  14.    anyone on irc with that nickname, it checks the length of the input.
  15.    If it is longer than 3 (three) characters, a country name is assumed.
  16.    If all else fails, it tries an isometric code.  Several switches are
  17.    available to force the client to do a particular type of lookup
  18.    (instead of guessing).
  19.  
  20.      Flag   Purpose                                                       
  21.       -c    assume input is definitely a country name
  22.       -f    skips userhost lookup used in nickname searches
  23.       -i    assume input is definitely an ISO code
  24.       -n    ignored (historical feature)
  25.  
  26.    For convenience, 2 additional aliases are provided; /lcountry is the
  27.    same as /country -c, and /lcode is the same as /country -i.
  28.  
  29. See Also:
  30.    load(5); userhost(2)
  31.  
  32. Other Notes:
  33.    This script was originally written by Daniel Cedras (TG).  It has been
  34.    largely rewritten by Jeremy Nelson (hop), jnelson@acronet.net, to take
  35.    advantage of EPIC's features.
  36.  
  37.